package xaj.lang;

import java.util.Iterator;

import polyglot.ast.Node;

public interface List extends Constructor {
	/**
	 * Method to get a iterator for all elements in the list 
	 * @return Iterator for list elements
	 */
	public Iterator iterator();
	/**
	 * Method to add a new element in the list
	 * @param c Element to be added
	 * @return True if element was added otherwise false
	 */
	public boolean add(Object x);
}

